import axios from 'axios';

// 登录
export function doChat(data) {
  return axios({
    url: 'https://u260726-9c16-b5b4e46f.westc.gpuhub.com:8443/v1/chat/completions',
    method: 'post',
    data:{
            "model": "chatglm3-6b",
            "messages": [{"role": "user", "content": data}],
         }
  });
}
